﻿// =================================================================== 
// 项目说明
//====================================================================
// @Copy Right 2006-2008
// 文件： T_SURVEY.cs
// 项目名称：DataService 
// 创建时间：2011-10-17
// 负责人：
// ===================================================================
using System;
using System.Collections.Generic;
using System.Text;
using DP.Data.OracleClient;
using System.Configuration;
using DP.Data.SqlClient;
namespace CRM.Entity
{
	/// <summary>
	///T_SURVEY数据实体
	/// </summary>
	[Serializable]
    [OracleTable(TableName = "T_SURVEY", TableOrView = DP.Data.Common.TableType.Table, ConnectionStringKey = "SQLConnString")]
    [SqlTable(TableName = "T_SURVEY", TableOrView = DP.Data.Common.TableType.Table, ConnectionStringKey = "SQLConnString")]
	public class T_SURVEY_Entity
	{
		#region 变量定义		
		///<summary>
		///自增问卷编号
		///</summary>
		private int? _sURVEY_ID;
		///<summary>
		///问卷名称
		///</summary>
		private string _sNAME = String.Empty;
		///<summary>
		///创建日期
		///</summary>
		private DateTime? _sDATE;
		///<summary>
		///结束日期
		///</summary>
		private DateTime? _eDATE;
		///<summary>
		///问卷说明
		///</summary>
		private string _sINFO = String.Empty;
		///<summary>
		///创建人员
		///</summary>
		private string _gHID = String.Empty;
        ///<summary>
        ///事业部编号
        ///</summary>
        private long? _bUSINESSDIVISIONID = 0;
        ///<summary>
        ///事业部名称
        ///</summary>
        private string _bUSINESSDIVISIONNAME = String.Empty;
        ///<summary>
        ///事业部代码
        ///</summary>
        private string _bUSINESSDIVISIONCODE = String.Empty;
        ///<summary>
        ///创建人姓名
        ///</summary>
        private string _cREATEPEOPLE = String.Empty;
		#endregion
		
		#region 构造函数
		///<summary>
		///
		///</summary>
		public T_SURVEY_Entity()
		{			
			
		}
		#endregion
		
		#region 公共属性
		
		///<summary>
		///自增问卷编号
		///</summary>		
        [OracleColumn(IncrementPrimaryKey = false, PrimaryKey = true, SequenceName = "SQ_T_SURVEY")]
        [SqlColumn(IncrementPrimaryKey = true, PrimaryKey = true)]
		public int? SURVEY_ID
		{
			get {return _sURVEY_ID;}
			set { _sURVEY_ID = value; }
			
		}

		///<summary>
		///问卷名称
		///</summary>		
		public string SNAME
		{
			get {return _sNAME;}
			set {
					_sNAME = value;
				}
			
		}

		///<summary>
		///创建日期
		///</summary>		
		public DateTime? SDATE
		{
			get {return _sDATE;}
			set { _sDATE = value; }
			
		}

		///<summary>
		///结束日期
		///</summary>		
		public DateTime? EDATE
		{
			get {return _eDATE;}
			set { _eDATE = value; }
			
		}

		///<summary>
		///问卷说明
		///</summary>		
		public string SINFO
		{
			get {return _sINFO;}
			set {
					_sINFO = value;
				}
			
		}

		///<summary>
		///创建人员
		///</summary>		
		public string GHID
		{
			get {return _gHID;}
			set {
					_gHID = value;
				}
			
		}
        ///<summary>
        ///事业部编号
        ///</summary>		
        public long? BUSINESSDIVISIONID
        {
            get { return _bUSINESSDIVISIONID; }
            set { _bUSINESSDIVISIONID = value; }

        }

        ///<summary>
        ///事业部名称
        ///</summary>		
        public string BUSINESSDIVISIONNAME
        {
            get { return _bUSINESSDIVISIONNAME; }
            set
            {
                _bUSINESSDIVISIONNAME = value;
            }

        }

        ///<summary>
        ///事业部代码
        ///</summary>		
        public string BUSINESSDIVISIONCODE
        {
            get { return _bUSINESSDIVISIONCODE; }
            set
            {
                _bUSINESSDIVISIONCODE = value;
            }

        }

        ///<summary>
        ///创建人姓名
        ///</summary>		
        public string CREATEPEOPLE
        {
            get { return _cREATEPEOPLE; }
            set
            {
                _cREATEPEOPLE = value;
            }

        }
		
		#endregion
		
	}
}
